<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
                template="./../resources/main.xhtml"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:p="http://primefaces.org/ui"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns="http://www.w3.org/1999/xhtml">

    <ui:define name="content">
        <h:outputStylesheet library="css" name="estilo.css" />
        <p:separator />
        <div class="pagina">
            Relatorio de Hospedagem Mensal
        </div>
        <p:separator />
        <p:growl />
        <h:form id="relatorio">
            <fieldset>
                <h:panelGroup>                   
                    <h:panelGrid columns="4">                         
                        <h:outputLabel value="Mes.:" styleClass="lb" />
                        <h:selectOneMenu value="#{bbRelatorioMensal.mes}" styleClass="tx" style="width: 70px;">
                            <f:selectItem itemValue="1"   itemLabel="01" />                
                            <f:selectItem itemValue="2"   itemLabel="02" />                
                            <f:selectItem itemValue="3"   itemLabel="03" />                
                            <f:selectItem itemValue="4"   itemLabel="04" />                
                            <f:selectItem itemValue="5"   itemLabel="05" />                
                            <f:selectItem itemValue="6"   itemLabel="06" />                
                            <f:selectItem itemValue="7"   itemLabel="07" />                
                            <f:selectItem itemValue="8"   itemLabel="08" />                
                            <f:selectItem itemValue="9"   itemLabel="09" />                
                            <f:selectItem itemValue="10"   itemLabel="10" />                
                            <f:selectItem itemValue="11"   itemLabel="11" />                
                            <f:selectItem itemValue="12"   itemLabel="12" />                
                        </h:selectOneMenu>      
                        <h:outputLabel value="Ano.:" styleClass="lb" />
                        <h:selectOneMenu value="#{bbRelatorioMensal.ano}"  styleClass="tx" style="width: 70px;">
                            <f:selectItem itemValue="2010"   itemLabel="2010" />
                            <f:selectItem itemValue="2011"   itemLabel="2011" />
                            <f:selectItem itemValue="2012"   itemLabel="2012" />
                            <f:selectItem itemValue="2013"   itemLabel="2013" />
                            <f:selectItem itemValue="2014"   itemLabel="2014" />
                            <f:selectItem itemValue="2015"   itemLabel="2015" />
                            <f:selectItem itemValue="2016"   itemLabel="2016" />
                            <f:selectItem itemValue="2017"   itemLabel="2017" />
                            <f:selectItem itemValue="2018"   itemLabel="2018" />
                            <f:selectItem itemValue="2019"   itemLabel="2019" />
                            <f:selectItem itemValue="2020"   itemLabel="2020" />
                            <f:selectItem itemValue="2021"   itemLabel="2021" />
                            <f:selectItem itemValue="2022"   itemLabel="2022" />
                            <f:selectItem itemValue="2023"   itemLabel="2023" />
                            <f:selectItem itemValue="2024"   itemLabel="2024" />
                            <f:selectItem itemValue="2025"   itemLabel="2025" />
                        </h:selectOneMenu>                                                                     
                    </h:panelGrid>
                    <p:commandButton value="Imprimir" ajax="false">
                        <p:fileDownload value="#{bbRelatorioMensal.arquivoRetorno}" />
                    </p:commandButton>
                </h:panelGroup>
            </fieldset>
        </h:form>
    </ui:define>

</ui:composition>
